home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Dt / Dt.h.z / Dt.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  2.8 KB  |  121 lines

  1. /*
  2.  * Dt.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* $XConsortium: Dt.h /main/cde1_maint/3 1995/11/07 16:32:34 pascale $ */
  26. /*
  27.  *  (c) Copyright 1993, 1994 Hewlett-Packard Company
  28.  *  (c) Copyright 1993, 1994 International Business Machines Corp.
  29.  *  (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
  30.  *  (c) Copyright 1993, 1994 Novell, Inc.
  31.  */
  32.  
  33. #ifndef _Dt_Dt_h
  34. #define _Dt_Dt_h
  35.  
  36. #include <X11/Intrinsic.h>
  37.  
  38. #ifdef __cplusplus
  39. extern "C" {
  40. #endif
  41.  
  42.  
  43. /*
  44.  * Constants
  45.  */
  46.  
  47. /* CDE Version information */
  48.  
  49. #define DtVERSION             1
  50. #define DtREVISION            0
  51. #define DtUPDATE_LEVEL        10
  52.  
  53. #define DtVERSION_NUMBER    (DtVERSION * 10000 +  \
  54.                 DtREVISION * 100 + \
  55.                 DtUPDATE_LEVEL)
  56.  
  57. #define DtVERSION_STRING "CDE Version 1.0.10"
  58.  
  59.  
  60. /* From the old StandardM.h file */
  61.  
  62. #define DtMSG_SERVER_TOOL_CLASS "MSG-SERVER"
  63.  
  64. /* Special case that means "all tools" */
  65.  
  66. #define DtALL_TOOL_CLASS "-"
  67.  
  68. /* Define for the stop message (which requests that a tool quit) */
  69.  
  70. #define DtSTOP "STOP"
  71.  
  72. /* Define for the generic message telling tools that
  73.  * the session is going down.  This is a (N)otification message.
  74.  */
  75. #define DtEND_SESSION "END_SESSION"
  76.  
  77. /* Command and data used for status requests and responses.  */
  78.  
  79. #define DtSTATUS_COMMAND        "STATUS"
  80. #define DtSTATUS_READY_ALL_FTYPES    "* READY"
  81. #define DtSTATUS_BUSY_ALL_FTYPES    "* BUSY"
  82.  
  83.  
  84. /*
  85.  * Data
  86.  */
  87.  
  88. /* CDE Version information */
  89.  
  90. externalref const int DtVersion;
  91. externalref const char *DtVersionString;
  92.  
  93. /* Solaris CDE Version information */
  94.  
  95. externalref const int SDtVersion;
  96. externalref const char *SDtVersionString;
  97.  
  98.  
  99. /*
  100.  * Functions
  101.  */
  102.  
  103. extern Boolean DtInitialize(
  104.         Display        *display,
  105.         Widget        widget,
  106.         char        *name,
  107.         char        *tool_class);
  108.  
  109. extern Boolean DtAppInitialize(
  110.         XtAppContext    app_context,
  111.         Display        *display,
  112.         Widget        widget,
  113.         char        *name,
  114.         char        *tool_class);
  115.  
  116. #ifdef __cplusplus
  117. }
  118. #endif
  119.  
  120. #endif /* _Dt_Dt_h */
  121.